package com.sxyjhh.fg.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Entity
@Table(name = "TWO_BUILDER")
public class TwoBuilderInfo {

    @Id
    @Column(name = "ID")
    private String id; //主键
    @Column(name = "SEX")
    private String sex;//性别
    @Column(name = "PERSION_NAME")
    private String persionName; //人员姓名
    @Column(name = "NATION")
    private String nation;//民族
    @Column(name = "CARDID")
    private String cardId;//身份证号
    @Column(name = "PROFESSIONNAME")
    private String professionName;//专业
    @Column(name = "CODE")
    private String code;//注册编号
    @Column(name = "CERTIFICATE_NAME")
    private String certificateName;//证书名称
    @Column(name = "CERTIFICATEENT")
    private String certificateent;//工作单位
    @Column(name = "USERFULLDATE")
    private String userfullDate;//证书有效期
    @Column(name = "STATUS")
    private String status;//状态
    @Column(name = "UPDATETIME")
    private Date updateTime;//更新时间

    public TwoBuilderInfo() {
    }

    public TwoBuilderInfo(String id, String sex, String persionName, String nation, String cardId, String professionName, String code, String certificateName, String certificateent, String userfullDate,String status, Date updateTime) {
        this.id = id;
        this.sex = sex;
        this.persionName = persionName;
        this.nation = nation;
        this.cardId = cardId;
        this.professionName = professionName;
        this.code = code;
        this.certificateName = certificateName;
        this.certificateent = certificateent;
        this.userfullDate = userfullDate;
        this.status = status;
        this.updateTime = updateTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPersionName() {
        return persionName;
    }

    public void setPersionName(String persionName) {
        this.persionName = persionName;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getProfessionName() {
        return professionName;
    }

    public void setProfessionNAME(String professionName) {
        this.professionName = professionName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCertificateName() {
        return certificateName;
    }

    public void setCertificateName(String certificateName) {
        this.certificateName = certificateName;
    }

    public String getCertificateent() {
        return certificateent;
    }

    public void setCertificateent(String certificateent) {
        this.certificateent = certificateent;
    }

    public String getUserfullDate() {
        return userfullDate;
    }

    public void setUserfullDate(String userfullDate) {
        this.userfullDate = userfullDate;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public void setProfessionName(String professionName) {
        this.professionName = professionName;
    }
}
